<h4>组件数据共享</h4>
<p>msg: {{msg}} </p>
<p>info: {{info}} </p>
<p>arr:{{arr | json}}</p>
<p>user: {{user | json}}  </p> 
<input type="text" [(ngModel)]="msg">
<div class="comp">
    <h3>父向子</h3>
    <app-child-one [msg]="msg" [aa] [arr]="arr" [user]="user"> </app-child-one>
</div>
<hr>
<p>info: {{info}} </p>
<h3>子向父</h3>
<input type="text" [(ngModel)]="info">
<a href="../../../assets/HTML自定义事件知识.html">HTML自定义事件知识补充</a>
<div class="comp">
    <h3>子向父</h3>
    <app-child-two (myEvent)="recevieInfo($event)"></app-child-two >
</div>